package com.jdzy.model.student.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "竞赛参与人")
@TableName("competition_participant")
public class CompetitionParticipant extends BaseEntity {

    @ApiModelProperty(value = "竞赛")
    @TableField(value = "competition_id")
    private Long competitionId;

    @ApiModelProperty(value = "学号(并非是此时参与人的学号id  而是竞赛的学号id)")
    @TableField(value = "stu_id")
    private String stuId;

    @ApiModelProperty(value = "参与人名字")
    @TableField(value = "competition_participant_name")
    private String competitionParticipantName;


}
